<template>
    <van-overlay :show="show" @click="show = false">
        <div class="wrapper" @click.stop>
            <van-loading color="#1989fa" size="100" />
        </div>
    </van-overlay>
</template>

<script>
export default {
    props: ['show']
}
</script>

<style scoped>
.wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.van-overlay {
    z-index: 9999;
}
</style>